package com.wechat.shopping.mall.po;

import com.wechat.shopping.mall.bean.po.WechatShoppingRoleCategory;
import com.wechat.shopping.mall.bean.po.WechatShoppingRoleCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface WechatShoppingRoleCategoryMapper {
    int countByExample(WechatShoppingRoleCategoryExample example);

    int deleteByExample(WechatShoppingRoleCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WechatShoppingRoleCategory record);

    int insertSelective(WechatShoppingRoleCategory record);

    List<WechatShoppingRoleCategory> selectByExampleWithRowbounds(WechatShoppingRoleCategoryExample example, RowBounds rowBounds);

    List<WechatShoppingRoleCategory> selectByExample(WechatShoppingRoleCategoryExample example);

    WechatShoppingRoleCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WechatShoppingRoleCategory record, @Param("example") WechatShoppingRoleCategoryExample example);

    int updateByExample(@Param("record") WechatShoppingRoleCategory record, @Param("example") WechatShoppingRoleCategoryExample example);

    int updateByPrimaryKeySelective(WechatShoppingRoleCategory record);

    int updateByPrimaryKey(WechatShoppingRoleCategory record);
}